#include<stdio.h>
int exchange(int x, int y);
int main(void)
{
    int data_a = 10;
    int data_b = 11;
    printf("Before exchange----\n");
    printf("data a is %d\n", data_a);
    printf("data b is %d\n", data_b);
    exchange(data_a, data_b);
    printf("After exchange----\n");
    printf("data a is %d\n", data_a);
    printf("data b is %d\n", data_b);
    return 0;
}
int exchange(int x, int y)
{
    int z;
    z = x;
    x = y;
    y = z;
    printf("Jump to function----\n");
    printf("data a is %d\n", x);
    printf("data b is %d\n", y);    
    return 1;
}